<? if(!defined('IN_DISCUZ')) exit('Access Denied'); 
0
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/login.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/header.htm', 1226906437, '1', './templates/default')
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/login.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/seccheck.htm', 1226906437, '1', './templates/default')
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/login.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/footer.htm', 1226906437, '1', './templates/default')
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/login.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/jsmenu.htm', 1226906437, '1', './templates/default')
;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" />
<title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title>
<?=$seohead?>
<meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" />
<meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" />
<meta name="generator" content="Discuz! <?=$version?>" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2008 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" />
<?=$rsshead?>
<?=$extrahead?>
<? if(CURSCRIPT == 'viewthread') { ?>
	<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_viewthread.css" />
	<? if($thread['special']) { ?>
		<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_special.css" />
	<? } } elseif(CURSCRIPT == 'post') { ?>
	<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_editor.css" />
<? } ?>
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css" />
<script type="text/javascript">
	var discuz_uid = <?=$discuz_uid?>;var IMGDIR = '<?=IMGDIR?>';var attackevasive = '<?=$attackevasive?>';var gid = 0;var STYLEID = '<?=STYLEID?>';
	<? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>');<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>');<? } ?>var fid = parseInt('<?=$fid?>');var tid = parseInt('<?=$tid?>');
</script>
<script src="include/javascript/common.js" type="text/javascript"></script>
</head>

<body onkeydown="if(event.keyCode==27) return false;">

	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<div class="wrap">
		<div id="header">
			<h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2>
			<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div>
		</div>
		<div id="menu">
			<span class="avataonline">
			<? if($discuz_uid) { ?>
				<cite><a class="dropmenu" id="viewpro" onmouseover="showMenu(this.id)"><?=$discuz_userss?></a></cite>
				<a href="<?=$link_logout?>">退出</a>
			<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
				<cite><a id="loginuser" class="dropmenu"><?=$_DCOOKIE['loginuser']?></a></cite>
				<a href="<?=$link_login?>">激活</a>
				<a href="<?=$link_logout?>">退出</a>
			<? } else { ?>
				<a href="<?=$link_register?>"><?=$reglinkname?></a>
				<a href="<?=$link_login?>">登录</a>
			<? } ?>
			</span>
		<? if($_DCACHE['settings']['frameon'] > 0) { ?>
			<span class="frameswitch">
			<script type="text/javascript">
			if(top == self) {
			<? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?>
				top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
			<? } ?>
				document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>');
			} else {
				document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>');
			}
			</script>
			</span>
		<? } ?>
			<ul>
			<? if($discuz_uid) { ?><li><a href="###" class="notabs" id="pmnotice" onclick="pmwin('open')"><? if(!$newpm) { ?>短消息<? } else { ?><font style="color:#FF0000">您有新短消息</font><? if($pmsound) { ?><bgsound src="images/sound/pm_<?=$pmsound?>.wav" /><? } } ?></a></li><? } ?>
			<? if($memliststatus) { ?><li<? if($BASESCRIPT == 'member.php') { ?> class="current"<? } ?>><a href="member.php?action=list">会员</a></li><? } ?>
			<? if($allowsearch || $qihoo['status']) { ?><li<? if($BASESCRIPT == 'search.php') { ?> class="current"<? } ?>><a href="search.php<? if(!empty($fid)) { ?>?srchfid=<?=$fid?><? } ?>">搜索</a></li><? } ?>
			<? if($tagstatus) { ?><li<? if($BASESCRIPT == 'tag.php') { ?> class="current"<? } ?>><a href="tag.php">标签</a></li><? } ?>
			<? if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { ?>						<? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } ?>
				<? } } } ?>
			<? if($discuz_uid) { ?>
				<? if($jsmenu['4']) { ?><li id="my" class="dropmenu<? if($BASESCRIPT == 'my.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="my.php">我的</a></li><? } else { ?><li<? if($BASESCRIPT == 'my.php' && $item == 'threads') { ?> class="current"<? } ?>><a href="my.php?item=threads">我的话题</a></li><li<? if($BASESCRIPT == 'my.php' && $item == 'grouppermission') { ?> class="current"<? } ?>><a href="my.php?item=grouppermission">我的权限</a></li><? } ?>
				<? if($jsmenu['2']) { ?><li id="memcp" class="dropmenu<? if($BASESCRIPT == 'memcp.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="memcp.php">控制面板</a></li><? } else { ?><li<? if($BASESCRIPT == 'memcp.php') { ?> class="current"<? } ?>><a href="memcp.php">控制面板</a></li><? } ?>
				<? if($regstatus > 1 && $allowinvite) { ?><li<? if($BASESCRIPT == 'invite.php') { ?> class="current"<? } ?>><a href="invite.php">邀请注册</a></li><? } ?>
				<? if($magicstatus) { ?><li<? if($BASESCRIPT == 'magic.php') { ?> class="current"<? } ?>><a href="magic.php">道具</a></li><? } ?>
			<? } ?>
			<? if(!empty($plugins['jsmenu'])) { ?><li id="plugin" class="dropmenu" onmouseover="showMenu(this.id)"><a href="#"><?=$pluginjsmenu?></a></li><? } ?>
			<? if($allowviewstats) { if(!empty($jsmenu['3'])) { ?><li id="stats" class="dropmenu<? if($BASESCRIPT == 'stats.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="stats.php">统计</a></li><? } else { ?><li<? if($BASESCRIPT == 'stats.php') { ?> class="current"<? } ?>><a href="stats.php">统计</a></li><? } } if(is_array($ucapp)) { foreach($ucapp as $app) { ?>					<? if($app['url']) { ?><li><a href="<?=$app['url']?>" target="_blank"><?=$app['name']?></a></li><? } ?>
			<? } } if($discuz_uid && $adminid == 1) { ?><li><a href="admincp.php" target="_blank">系统设置</a></li><? } ?>
			<? if($discuz_uid && $adminid > 1) { ?><li><a href="modcp.php?fid=<?=$fid?>" target="_blank">版主管理面板</a></li><? } ?>
				<li<? if($BASESCRIPT == 'faq.php') { ?> class="current"<? } ?>><a href="faq.php">帮助</a></li>
			</ul>
		</div><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 会员登录</div>

<form method="post" name="login" action="logging.php?action=login">
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<input type="hidden" name="referer" value="<?=$referer?>" />
<div class="mainbox formbox">
	<span class="headactions"><a href="faq.php?action=message&amp;id=3" target="_blank">登录帮助</a></span>
	<h1>会员登录</h1>
	<table summary="会员登录" cellspacing="0" cellpadding="0"><script type="text/javascript">
function updateseccode(op) {
	if(isUndefined(op)) {
		var x = new Ajax();
		x.get('ajax.php?action=updateseccode&inajax=1', function(s) {
			$('seccodeimage').innerHTML = s;
		});
	} else {
		window.document.seccodeplayer.SetVariable("isPlay", "1");
	}
}

function updatesecqaa() {
	var x = new Ajax();
	x.get('ajax.php?action=updatesecqaa&inajax=1', function(s) {
		$('secquestion').innerHTML = s;
	});
}
</script>

<? if($seccodecheck) { ?>
	<tr>
	<th><label for="seccodeverify">验证码</label></th>
	<td>
		<div id="seccodeimage"></div><em class="tips" ><? if($seccodedata['type'] == 2) { ?>请确认您的浏览器支持 Flash 的显示，如果您无法识别证码，请点<a href="###" onclick="updateseccode()">这里</a>更换<? } elseif($seccodedata['type'] == 3) { ?>请确认您的浏览器支持 Flash 的显示并且能够听到声音<? } elseif($seccodedata['animator'] == 1) { ?>请确认您的浏览器支持动画的显示，如果您无法识别验证码，请点图片更换<? } else { ?>如果您无法识别验证码，请点图片更换<? } ?></em><br />
		<input type="text"<? if(!$seccodedata['noclick']) { ?> onfocus="updateseccode();this.onfocus = null"<? } ?> id="seccodeverify" name="seccodeverify" onBlur="checkseccode()" size="8" maxlength="4" tabindex="1" />
		<span id="checkseccodeverify">&nbsp;<? if(!$seccodedata['noclick']) { ?><strong>点击输入框显示验证码</strong><? } ?></span>
	</td>
	</tr>
	<? if($seccodedata['noclick']) { ?>
		<script type="text/javascript">
		updateseccode();
		</script>
	<? } } if($secqaacheck) { ?>
	<tr>
	<th>验证问答</th>
	<td>
		<div id="secquestion"></div><input type="text" name="secanswer" onBlur="checksecanswer()" size="25" maxlength="50" tabindex="2" />
		<span id="checksecanswer">&nbsp;</span>
	</td>
	</tr>
	<script type="text/javascript">
	<? if(($attackevasive & 1) && $seccodecheck) { ?>
		setTimeout("updatesecqaa()", 2001);
	<? } else { ?>
		updatesecqaa();
	<? } ?>
	</script>
<? } ?>

<script type="text/javascript">
var profile_seccode_invalid = '验证码输入错误，请重新填写。';
var profile_secanswer_invalid = '验证问答回答错误，请重新填写。';
var lastseccode = lastsecanswer = '';
function checkseccode() {
	var seccodeverify = $('seccodeverify').value;
	if(seccodeverify == lastseccode) {
		return;
	} else {
		lastseccode = seccodeverify;
	}
	var cs = $('checkseccodeverify');
	<? if($seccodedata['type'] != 1) { ?>
		if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) {
			warning(cs, profile_seccode_invalid);
			return;
		}
	<? } else { ?>
		if(seccodeverify.length != 2) {
			warning(cs, profile_seccode_invalid);
			return;
		}
	<? } ?>
	ajaxresponse('checkseccodeverify', 'action=checkseccode&seccodeverify=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify));
}
function checksecanswer() {
        var secanswer = $('secanswer').value;
	if(secanswer == lastsecanswer) {
		return;
	} else {
		lastsecanswer = secanswer;
	}
	ajaxresponse('checksecanswer', 'action=checksecanswer&secanswer=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer));
}
function ajaxresponse(objname, data) {
	var x = new Ajax('XML', objname);
	x.get('ajax.php?inajax=1&' + data, function(s){
	        var obj = $(objname);
	        if(s == 'succeed') {
	        	obj.style.display = '';
	                obj.innerHTML = '<img src="<?=IMGDIR?>/check_right.gif" width="13" height="13">';
			obj.className = "warning";
		} else {
			warning(obj, s);
		}
	});
}
function warning(obj, msg) {
	if((ton = obj.id.substr(5, obj.id.length)) != 'password2') {
		$(ton).select();
	}
	obj.style.display = '';
	obj.innerHTML = '<img src="<?=IMGDIR?>/check_error.gif" width="13" height="13"> &nbsp; ' + msg;
	obj.className = "warning";
}
</script><tr>
			<th onclick="document.login.username.focus();">
				<label><input class="radio" type="radio" name="loginfield" value="username" tabindex="2" checked="checked" />用户名</label>
				<label><input class="radio" type="radio" name="loginfield" value="uid" tabindex="3" />UID</label>
			</th>
			<td>
				<input type="text" id="username" name="username" size="25" maxlength="40" tabindex="4" />
				<a href="<?=$regname?>">立即注册</a>
			</td>
		</tr>
		<tr>
			<th><label for="password">密码</label></th>
			<td>
				<input type="password" id="password" name="password" size="25" tabindex="5" />
				<a href="member.php?action=lostpasswd">忘记密码</a>
			</td>
		</tr>
		<tr>
			<th><label for="questionid">安全提问</label></th>
			<td>
				<select id="questionid" name="questionid" tabindex="6">
					<option value="0">无安全提问</option>
					<option value="1">母亲的名字</option>
					<option value="2">爷爷的名字</option>
					<option value="3">父亲出生的城市</option>
					<option value="4">您其中一位老师的名字</option>
					<option value="5">您个人计算机的型号</option>
					<option value="6">您最喜欢的餐馆名称</option>
					<option value="7">驾驶执照的最后四位数字</option>
				</select>
			</td>
		</tr>
		<tr>
			<th><label for="answer">回答</label></th>
			<td><input type="text" id="answer" name="answer" size="25" tabindex="7" /> 如果您设置了安全提问，请回答正确的答案</td>
		</tr>
		<tr>
			<th>登录有效期</th>
			<td>
				<label><input class="radio" type="radio" name="cookietime" value="315360000" tabindex="8" <?=$cookietimecheck['315360000']?> /> 永久</label>
				<label><input class="radio" type="radio" name="cookietime" value="2592000" tabindex="9" <?=$cookietimecheck['2592000']?> /> 一个月</label>
				<label><input class="radio" type="radio" name="cookietime" value="86400" tabindex="10" <?=$cookietimecheck['86400']?> /> 一天</label>
				<label><input class="radio" type="radio" name="cookietime" value="3600" tabindex="11" <?=$cookietimecheck['3600']?> /> 一小时</label>
				<label><input class="radio" type="radio" name="cookietime" value="0" tabindex="12" <?=$cookietimecheck['0']?> /> 浏览器进程</label>
			</td>
		</tr>
		<tr>
			<th><label for="loginmode">隐身登录</label></th>
			<td>
				<select id="loginmode" name="loginmode" tabindex="13">
					<option value="">- 使用默认 -</option>
					<option value="normal"> 正常模式</option>
					<option value="invisible"> 隐身模式</option>
				</select>
			</td>
		</tr>
		<tr>
			<th><label for="styleid">界面风格</label></th>
			<td>
				<select id="styleid" name="styleid" tabindex="14">
					<option value="">- 使用默认 -</option>
					<?=$styleselect?>
				</select>
			</td>
		</tr>
		<tr>
			<th>&nbsp;</th>
			<td><button class="submit" type="submit" name="loginsubmit" value="true" tabindex="100">提交</button></td>
		</tr>
	</table>
</div>
</form>

<script type="text/javascript">
document.login.username.focus();

var mydate = new Date();
var mytimestamp = parseInt(mydate.valueOf() / 1000);
if(Math.abs(mytimestamp - <?=$timestamp?>) > 86400) {
	window.alert('注意:\n\n您本地计算机的时间设定与论坛时间相差超过 24 个小时，\n这可能会影响您的正常登录，请调整本地计算机设置。\n\n当前论坛时间是: <?=$thetimenow?>\n如果您认为论坛时间不准确，请与论坛管理员联系。');
}
</script>
</div><? if(!empty($jsmenu['2'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="memcp_menu" style="display: none">
		<li><a href="memcp.php">控制面板首页</a></li>
		<li><a href="memcp.php?action=profile">编辑个人资料</a></li>
		<? if($exchangestatus || $transferstatus || $ec_ratio) { ?>
			<li><a href="memcp.php?action=credits">积分交易</a></li>
		<? } ?>
		<li><a href="memcp.php?action=creditslog">积分记录</a></li>
		<li><a href="memcp.php?action=usergroups">公众用户组</a></li>
		<? if($medalstatus) { ?>
			<li><a href="medal.php">勋章</a></li>
		<? } ?>
		<? if($creditspolicy['promotion_visit'] || $creditspolicy['promotion_register']) { ?>
			<li><a href="memcp.php">访问推广</a></li>
		<? } ?>
	</ul>
<? } if(!empty($plugins['jsmenu'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?>	     <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?>
	     <li><?=$module['url']?></li>
	     <? } ?>
	<? } } ?></ul>
<? } if(!empty($jsmenu['3'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="stats_menu" style="display: none">
		<li><a href="stats.php">基本概况</a></li>
		<? if($statstatus) { ?>
			<li><a href="stats.php?type=views">流量统计</a></li><li><a href="stats.php?type=agent">客户软件</a></li><li><a href="stats.php?type=posts">发帖量记录</a></li>
		<? } ?>
		<li><a href="stats.php?type=forumsrank">版块排行</a></li><li><a href="stats.php?type=threadsrank">主题排行</a></li><li><a href="stats.php?type=postsrank">发帖排行</a></li><li><a href="stats.php?type=creditsrank">积分排行</a></li>
		<li><a href="stats.php?type=trade">交易排行</a></li>
		<? if($oltimespan) { ?><li><a href="stats.php?type=onlinetime">在线时间</a></li><? } ?>
		<li><a href="stats.php?type=team">管理团队</a></li>
		<? if($modworkstatus) { ?><li><a href="stats.php?type=modworks">管理统计</a></li><? } ?>
	</ul>
<? } if($discuz_uid && $jsmenu['4']) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="my_menu" style="display: none">
		<li><a href="my.php?item=threads">我的话题</a></li>
		<li><a href="my.php?item=favorites&amp;type=thread">我的收藏</a></li>
		<li><a href="my.php?item=subscriptions">我的订阅</a></li>
		<li><a href="my.php?item=grouppermission">我的权限</a></li>
		<li><a href="my.php?item=polls&amp;type=poll">我的投票</a></li>
		<li><a href="my.php?item=tradestats">我的商品</a></li>
		<li><a href="my.php?item=reward&amp;type=stats">我的悬赏</a></li>
		<li><a href="my.php?item=activities&amp;type=orig&amp;ended=no">我的活动</a></li>
		<li><a href="my.php?item=debate&amp;type=debate">我的辩论</a></li>
		<? if($videoopen) { ?>
			<li><a href="my.php?item=video">我的视频</a></li>
		<? } ?>
		<li><a href="my.php?item=buddylist">我的好友</a></li>
		<? if($ucappopen['UCHOME']) { ?>
			<li><a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">我的空间</a></li>
		<? } elseif($ucappopen['XSPACE']) { ?>
			<li><a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">我的空间</a></li>
		<? } ?>
	</ul>
<? } if($discuz_uid) { ?>
	<ul class="popupmenu_popup" id="viewpro_menu" style="display: none">
		<li class="popavatar"><? echo discuz_uc_avatar($discuz_uid, 'small');; ?></li>
		<li class="popuser"><a href="space.php?uid=<?=$discuz_uid?>">我的资料</a></li>
		<li class="poplink">
		<? if($ucappopen['UCHOME']) { ?>
			<a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">我的空间</a>
		<? } elseif($ucappopen['XSPACE']) { ?>
			<a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">我的空间</a>
		<? } else { ?>
			我的空间
		<? } ?>
		</li>
	</ul>
<? } if($admode && empty($insenz['hardadstatus']) && !empty($advlist)) { ?>
	<div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div>
<? } else { ?>
	<div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div>
<? } ?>

<div id="footer">
	<div class="wrap">
		<div id="footlinks">
			<p>当前时区 GMT<?=$timenow['offset']?>, 现在时间是 <?=$timenow['time']?><? if($icp) { ?> <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a><? } ?></p>
			<p>
				<a href="member.php?action=clearcookies&amp;formhash=<?=FORMHASH?>">清除 Cookies</a>
				- <a href="mailto:<?=$adminemail?>">联系我们</a> - <a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a>
				<? if($archiverstatus) { ?> - <a href="archiver/" target="_blank">Archiver</a><? } ?>
				<? if($wapstatus) { ?> - <a href="wap/" target="_blank">WAP</a><? } ?>
				- <span class="scrolltop" onclick="window.scrollTo(0,0);">TOP</span>
				<? if(!empty($stylejumpstatus)) { ?>
					- <span id="styleswitcher" class="dropmenu" onmouseover="showMenu(this.id)">界面风格</span>
					<script type="text/javascript">
					function setstyle(styleid) {
					<? if(CURSCRIPT == 'forumdisplay') { ?>
						location.href = 'forumdisplay.php?fid=<?=$fid?>&page=<?=$page?>&styleid=' + styleid;
					<? } elseif(CURSCRIPT == 'viewthread') { ?>
						location.href = 'viewthread.php?tid=<?=$tid?>&page=<?=$page?>&styleid=' + styleid;
					<? } else { ?>
						location.href = '<?=$indexname?>?styleid=' + styleid;
					<? } ?>
					}
					</script>
					<div id="styleswitcher_menu" class="popupmenu_popup" style="display: none;">
					<ul><? if(is_array($stylejump)) { foreach($stylejump as $id => $name) { ?><li<? if($id == $styleid) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)"><?=$name?></a></li><? } } ?></ul>
					</div>
				<? } ?>
			</p>
		</div>

		<a href="http://www.discuz.net" target="_blank" title="Powered by Discuz!"><img src="<?=IMGDIR?>/discuz_icon.gif" border="0" alt="Discuz!" /></a>
		<p id="copyright">
			Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?>
			&copy; 2001-2008 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>
		</p><? updatesession(); if(debuginfo()) { ?>
			<p id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?>.</p>
		<? } ?>
	</div>
</div>
<? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?>
	<script src="include/javascript/iframe.js" type="text/javascript"></script>
<? } output(); ?></body>
</html>